// components/song-menu/index.js
Component({
    properties: {
        songMenu: {
            type: Array,
            value: []
        },
        title: {
            type: String,
            value: '默认标题'
        },
        
    },
    methods: {
        handleMenuItemClick: function(event) {
            const item = event.currentTarget.dataset.item
            wx.navigateTo({
                url: `/pages/music-menu-detail/index?id=${item.id}&type=menu`,
            })
        }
    }
})
